package com.lry.crawlers.information.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("information")
public class Information {
    @TableId(type=IdType.INPUT)
    private String id;
    private String classify;
    private String taskName;
    private String status;
    private Integer finishCount;
    private Integer allCount;
    private Date startTime;
    private Date endTime;
    private Integer schedule;

    public Information( String id,  Date endTime, String status,Integer schedule){

        this.id = id;
        this.endTime = endTime;
        this.status = status;
        this.schedule = schedule;

    }
}
